package com.sdy.usercenter.biz.service;

import com.sdy.common.model.BizException;
import com.sdy.usercenter.biz.model.SysApplication;
import com.sdy.mvc.service.BaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzq
 * @since 2019-12-12
 */
public interface SysApplicationService extends BaseService<SysApplication> {
    List<SysApplication> appListWithAuth(Integer roleId);
    void saveApplication(SysApplication sysApplication) throws BizException;
    void updateApplication(SysApplication sysApplication) throws BizException;
    void deleteApplication(Integer id);
}
